﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface ICTHoaDon
    {
        [OperationContract]
        IEnumerable<CTHOADON> GetByAllCTHoaDon();

        [OperationContract]
        String InsertCTHoaDon(CTHOADON data);

        [OperationContract]
        String UpdateCTHoaDon(CTHOADON data);

        [OperationContract]
        String DeleteCTHoaDon(string id);

        [OperationContract]
        IEnumerable<CTHOADON> GetByTopCTHoaDon(string _top, string _where, string _order);

        [OperationContract]
        String ApproveCTHoaDon(CTHOADON data);
    }
}
